import request from "./request"
export const getFilmList = () =>{
  return request({
    url:'/films/top250',
    method:'GET',
  })
}

export const getFilmById = (params) =>{
  return request({
    url:'/films/detail',
    method:'GET',
    params,
  })
}